Comparison between the ages for the genders and types

Questions

  • What are the differences between the ages for the different combinations of gender and types?
  • Do we observe the same changes as globally?

Age effect - General Questions

  • What are the differences between the ages?
  • Which genes and pathways are differentially expressed between 8w and 52w, between 52w and 104w, between 8w and 104w? Are they the same? Is there a gradient?
  • Are they different for the two genders?
  • Are they different for the two types?

Loads

Libraries and functions

Warning message in is.na(x[[i]]):
“is.na() applied to non-(list or vector) of type 'environment'”Warning message in rsqlite_fetch(res@ptr, n = n):
“Don't need to call dbFetch() for statements, only for queries”
==========================================================================
*
*  Package WGCNA 1.63 loaded.
*
*    Important note: It appears that your system supports multi-threading,
*    but it is not enabled within WGCNA in R. 
*    To allow multi-threading within WGCNA with all available cores, use 
*
*          allowWGCNAThreads()
*
*    within R. Use disableWGCNAThreads() to disable threading if necessary.
*    Alternatively, set the following environment variable on your system:
*
*          ALLOW_WGCNA_THREADS=<number_of_processors>
*
*    for example 
*
*          ALLOW_WGCNA_THREADS=4
*
*    To set the environment variable in linux bash shell, type 
*
*           export ALLOW_WGCNA_THREADS=4
*
*     before running R. Other operating systems or shells will
*     have a similar command to achieve the same aim.
*
==========================================================================


Allowing multi-threading with up to 4 threads.
[1] "preparing gene to GO mapping data..."
[1] "preparing IC data..."
[1] "preparing gene to GO mapping data..."
[1] "preparing IC data..."
[1] "preparing gene to GO mapping data..."
[1] "preparing IC data..."

Data

  1. 14447
  2. 88
  1. 0.3609065973726
  2. 0
  1. 4.84577258072278
  2. 0.21654395842356

Differentially expressed genes

Warning message in pcls(G):
“initial point very close to some inequality constraints”Warning message in pcls(G):
“initial point very close to some inequality constraints”Warning message in pcls(G):
“initial point very close to some inequality constraints”Warning message in pcls(G):
“initial point very close to some inequality constraints”Warning message in pcls(G):
“initial point very close to some inequality constraints”Warning message in pcls(G):
“initial point very close to some inequality constraints”Warning message in pcls(G):
“initial point very close to some inequality constraints”Warning message in pcls(G):
“initial point very close to some inequality constraints”Warning message in pcls(G):
“initial point very close to some inequality constraints”Warning message in pcls(G):
“initial point very close to some inequality constraints”Warning message in pcls(G):
“initial point very close to some inequality constraints”Warning message in pcls(G):
“initial point very close to some inequality constraints”Warning message in stack.default(getgo(rownames(l$sign_fc_deg), "mm10", "geneSymbol")):
“non-vector elements will be ignored”Warning message in stack.default(getgo(rownames(as.data.frame(l$deg)), "mm10", "geneSymbol", :
“non-vector elements will be ignored”

Stats

All DEG (Wald padj < 0.05)All over-expressed genes (Wald padj < 0.05 & FC > 0)All under-expressed genes (Wald padj < 0.05 & FC < 0)DEG (Wald padj < 0.05 & abs(FC) >= 1.5)Over-expressed genes (Wald padj < 0.05 & FC >= 1.5)Under-expressed genes (Wald padj < 0.05 & FC <= -1.5)
52w VS 8w (F, SPF)1604 937 667 866 590 276
52w VS 8w (F, GF) 950 601 349 503 369 134
52w VS 8w (M, SPF) 294 210 84 211 177 34
52w VS 8w (M, GF) 189 112 77 148 98 50
104w VS 52w (F, SPF) 280 159 121 178 135 43
104w VS 52w (F, GF) 267 146 121 181 109 72
104w VS 52w (M, SPF)3295177815171300 493 807
104w VS 52w (M, GF)2676135513211366 3551011
104w VS 8w (F, SPF)1502 890 612 911 704 207
104w VS 8w (F, GF)1537 849 688 959 607 352
104w VS 8w (M, SPF)38652077178819971004 993
104w VS 8w (M, GF)2762144013221609 5641045

All DEG (Wald padj < 0.05)

DEG (Wald padj < 0.05 & abs(FC) > 1.5)

DEG (Wald padj < 0.05 & abs(FC) > 1.5)

Log2FC

Z-score

Column order: type - gender - age

Column order: gender - type - age

Co-expression (WGCNA)

DEG into gene co-expression network

  • White: up-regulated
  • Black: down-regulated

52w VS 8w

52w VS 8w M F
SPF
GF

104w VS 52w

104w VS 52w M F
SPF
GF

Z-score in modules

Column order: type - gender - age

Column order: gender - type - age

Genes in modules

GO analysis

Biological process

Dot-plot with the most over-represented BP GO (20 most significant p-values for the different comparison)

Using term, id as id variables
Using term, id as id variables

Network based on description similarity

52w VS 8w

52w VS 8w M F
SPF
GF

52w VS 8w (M, SPF)

GO Tree at "../results/dge/age-effect/age_type_gender/go/52w_VS_8w_M_SPF.png"

52w VS 8w (F, SPF)

GO Tree at "../results/dge/age-effect/age_type_gender/go/52w_VS_8w_F_SPF.png"

52w VS 8w (M, GF)

GO Tree at "../results/dge/age-effect/age_type_gender/go/52w_VS_8w_M_GF.png"

52w VS 8w (F, GF)

GO Tree at "../results/dge/age-effect/age_type_gender/go/52w_VS_8w_F_GF.png"

104w VS 52w

104w VS 52w M F
SPF
GF

104w VS 52w (M, SPF)

GO Tree at "../results/dge/age-effect/age_type_gender/go/104w_VS_52w_M_SPF.png"

104w VS 52w (F, SPF)

GO Tree at "../results/dge/age-effect/age_type_gender/go/104w_VS_52w_F_SPF.png"

104w VS 52w (M, GF)

GO Tree at "../results/dge/age-effect/age_type_gender/go/104w_VS_52w_M_GF.png"

104w VS 52w (F, GF)

GO Tree at "../results/dge/age-effect/age_type_gender/go/104w_VS_52w_F_GF.png"

104w VS 8w

104w VS 8w M F
SPF
GF

104w VS 8w (M, SPF)

GO Tree at "../results/dge/age-effect/age_type_gender/go/104w_VS_52w_M_SPF.png"

104w VS 8w (F, SPF)

GO Tree at "../results/dge/age-effect/age_type_gender/go/104w_VS_52w_F_SPF.png"

104w VS 8w (M, GF)

GO Tree at "../results/dge/age-effect/age_type_gender/go/104w_VS_52w_M_GF.png"

104w VS 8w (F, GF)

GO Tree at "../results/dge/age-effect/age_type_gender/go/104w_VS_52w_F_GF.png"

Cellular components

Dot-plot with the most over-represented CC GO (20 most significant p-values for the different comparison)

Using term, id as id variables
Using term, id as id variables

Molecular functions

Dot-plot with the most over-represented MF GO (20 most significant p-values for the different comparison)

Using term, id as id variables
Using term, id as id variables

KEGG pathways

What happen to SPF aging genes in GF?

Genes:

  1. Set 52w vs 8w: 52w != 8w (SPF)
  2. Set 104w vs 52w: 104w != 52w (SPF)
  3. Set all: 52w != 8w (SPF) and 104w != 52w (SPF)

Female

Genes in "../results/dge/age-effect/age_type_gender/spf_f_aging_genes"

deg_52w_vs_8w
1604
deg_104w_vs_52w
280
deg_52w_vs_8w_and_104w_vs_52w
72
No trace type specified:
  Based on info supplied, a 'scatter' trace seems appropriate.
  Read more about this trace type -> https://plot.ly/r/reference/#scatter
Warning message:
“Ignoring 1006 observations”No trace type specified:
  Based on info supplied, a 'scatter' trace seems appropriate.
  Read more about this trace type -> https://plot.ly/r/reference/#scatter
Warning message:
“Ignoring 242 observations”No trace type specified:
  Based on info supplied, a 'scatter' trace seems appropriate.
  Read more about this trace type -> https://plot.ly/r/reference/#scatter
Warning message:
“Ignoring 1519 observations”No trace type specified:
  Based on info supplied, a 'scatter' trace seems appropriate.
  Read more about this trace type -> https://plot.ly/r/reference/#scatter
Warning message:
“Ignoring 233 observations”

Male

Genes in "../results/dge/age-effect/age_type_gender/spf_m_aging_genes"

deg_52w_vs_8w
294
deg_104w_vs_52w
3295
deg_52w_vs_8w_and_104w_vs_52w
119
No trace type specified:
  Based on info supplied, a 'scatter' trace seems appropriate.
  Read more about this trace type -> https://plot.ly/r/reference/#scatter
Warning message:
“Ignoring 191 observations”No trace type specified:
  Based on info supplied, a 'scatter' trace seems appropriate.
  Read more about this trace type -> https://plot.ly/r/reference/#scatter
Warning message:
“Ignoring 3215 observations”No trace type specified:
  Based on info supplied, a 'scatter' trace seems appropriate.
  Read more about this trace type -> https://plot.ly/r/reference/#scatter
Warning message:
“Ignoring 197 observations”No trace type specified:
  Based on info supplied, a 'scatter' trace seems appropriate.
  Read more about this trace type -> https://plot.ly/r/reference/#scatter
Warning message:
“Ignoring 1785 observations”

DEGs 104w vs 8w (SPF, F)

Heatmap of the Z-scores (ordered by log2 FC of the comparison 104w VS 8w (F, SPF))

GF_104w_F_1_2GF_104w_F_2_2GF_104w_F_3_2GF_104w_M_1_2GF_104w_M_2_2GF_104w_M_3_2GF_104w_M_5_2GF_104w_M_4_2
Ptprh-0.4559471-0.4559471-0.4559471-0.4559471-0.4559471-0.4559471-0.4559471-0.4559471
Gprc5c-0.3654629-0.3654629-0.3654629-0.3654629-0.2801603-0.3654629-0.3654629-0.3654629
Rho-0.3926242-0.3926242-0.3926242-0.3926242-0.3926242-0.3926242-0.3926242-0.3926242
Gnat1-0.3875829-0.3875829-0.3875829-0.3875829-0.3754065-0.3875829-0.3875829-0.3875829
Rs1-0.4163774-0.4163774-0.4163774-0.4163774-0.4163774-0.4163774-0.4163774-0.4163774
Rbp3-0.3913755-0.3913755-0.3913755-0.3913755-0.3913755-0.3913755-0.3913755-0.3913755
GF 104w FGF 104w M
Ptprh-0.4559471-0.4559471
Gprc5c-0.3654629-0.3484024
Rho-0.3926242-0.3926242
Gnat1-0.3875829-0.3851476
Rs1-0.4163774-0.4163774
Rbp3-0.3913755-0.3913755